# Config file for the OSGi++ library.
# It defines the following variables :
#  OSGi_INCLUDE_DIR - include directory for OSGi++,
#  OSGi_LIBRARY     - the library to link against,.
#  OSGi_PACKAGER    - the packager executable.

# Computes paths.
get_filename_component(OSGi_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(OSGi_INCLUDE_DIR "@CONF_INCLUDE_DIR@")

# The library dependencies (contains definitions for IMPORTED targets).
if(NOT TARGET OSGi++ AND NOT OSGi_BINARY_DIR)
  include("${OSGi_CMAKE_DIR}/OSGiTargets.cmake")
endif()

# These are IMPORTED targets created by OSGiTargets.cmake .
set(OSGi_LIBRARIES OSGi++)
set(OSGi_PACKAGER  osgi-packager)

# Other definitions.
set(OSGi_USE_FILE ${OSGi_CMAKE_DIR}/OSGiUse.cmake)

include(${OSGi_USE_FILE})
